Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce 'module not found' console logging #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

partridgeworks
Copy link

Many users will only have the ability to resolve module 'firebase' or 'firebase-admin' but not necessarily both.

Impacted users see repeated logging of 'Module not found, mocking skipped' messages which can cause concern, and also pollute the logs of larger test suites with many such lines.

This change only logs to console in the more severe case where neither module can be found.

Description

Related issues

How to test

Many users will only have the ability to resolve module 'firebase' or 'firebase-admin' but not necessarily both. 

Impacted users see repeated logging of 'Module not found, mocking skipped' messages which can cause concern, and also pollute the logs of larger test suites with many such lines.

This change only logs to console in the more severe case where neither module can be found.
@partridgeworks
Copy link
Author

@sbatson5 thanks for the approval, I have no write access so you will need to merge pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants